package com.hzncc.scaffold.service;

import com.hzncc.scaffold.core.ResultT;
import com.hzncc.scaffold.entity.Other.Banner;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 横幅表 服务类
 * </p>
 *
 * @author DrunkBear
 * @since 2022-04-27
 */
public interface BannerService extends IService<Banner> {

    public List<Banner> queryByEntity(Banner banner);

    public ResultT saveBanner(Banner banner);

    public ResultT updateBanner(Banner banner);

    public ResultT moveBanner(Integer curPos,Integer targetPos,String key);
}
